package com.example.demo3.service;

import com.example.demo3.domain.User;
import com.example.demo3.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * User: wangy
 * Date: 2020/5/14
 * Description: No Description
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User getByUserName(String username) {
        return  userMapper.getByUserName(username);
    }
}
